package com.cherrypt.api.core.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.cherrypt.api.model.dataobject.Series;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * @Author: intent
 * @Date: 19-10-28 下午1:10
 */
public interface SeriesDao extends BaseMapper<Series> {
    @Select(value = "SELECT * FROM t_series WHERE pid = #{pid}")
    List<Series> selectSeriesListByPid(int pid);
}
